package com.milotnt.service;

import com.milotnt.pojo.CommunityPostEntity;
import com.milotnt.vo.CommunityPostVo;

import java.util.List;

public interface CommunityPostService {

    //查询所有帖子
    List<CommunityPostVo> getAllPosts();

    //发布帖子
    Boolean addPost(CommunityPostEntity post);

}
